package org.NooLab.nativebrowser.components;



import javax.swing.JFrame;
import javax.swing.JPanel;

import org.NooLab.nativebrowser.WebBrowserPublic;
import org.NooLab.nativebrowser.browser.DjBrowserHostIntf;
import org.NooLab.nativebrowser.gui.hidden.HiddenWindowGuiIntf;

import chrriis.dj.nativeswing.swtimpl.components.JWebBrowser;




public interface WebBrowserAppMainIntf {

	DjBrowserHostIntf createWebBrowserHostInstance();

	DjBrowserHostIntf getWebBrowserHostInstance(int index);

	JFrame getMainFrame();

	HiddenWindowGuiIntf getWindowGui();

	NativeBrowserCommons getAppCommons();

	void close(int mode);
	
	void setWebBrowser(JWebBrowser webBrowser);

	void show(JPanel topPanel);

	void setAppIsRunning(boolean b);

	JWebBrowser getWebBrowser();

	void setExternalObserver(WebBrowserPublic webBrowserPublic);
 

	void reset(BrowserAppRecipientIntf externalobserver);

	void freeResources();

	

}
